CROSS=arm-linux-

transfer_test: data_transfer.cpp.o main.cpp.o \
		secure_transfer.cpp.o
	$(CROSS)g++ -Wall -O3 -o transfer_test \
		data_transfer.cpp.o main.cpp.o \
		secure_transfer.cpp.o
secure_transfer.cpp.o: secure_transfer.cpp \
			secure_transfer.h
	$(CROSS)gcc -c -o secure_transfer.cpp.o \
			secure_transfer.cpp
data_transfer.cpp.o: data_transfer.cpp \
			data_transfer.h
	$(CROSS)gcc -c -o data_transfer.cpp.o \
			data_transfer.cpp
main.cpp.o: main.cpp
	$(CROSS)gcc -c -o main.cpp.o main.cpp

clean:
	@rm -vf armcomtest x86comtest *.o *~
